<?php
// +---------------------------------------------------------------------+
// | OneBase    | [ WE CAN DO IT JUST THINK ]                            |
// +---------------------------------------------------------------------+
// | Licensed   | http://www.apache.org/licenses/LICENSE-2.0 )           |
// +---------------------------------------------------------------------+
// | Author     | Bigotry <3162875@qq.com>                               |
// +---------------------------------------------------------------------+
// | Repository | https://gitee.com/Bigotry/OneBase                      |
// +---------------------------------------------------------------------+

namespace app\common\model;

/**
 * 模型
 */
class CoinUsdt extends ModelBase
{
    public function  getImageAttr(){
        return DMOAIN_URL.'/static/coin/'.$this->data['name'].'.png';
    }

    public function  info(){
        return $this->hasOne('CoinInfo','symbol','symbol');
    }

}
